package com.adlx.dingdong.mall.user.api.hystrix;

import com.adlx.dingdong.mall.user.api.UserFeignClient;
import com.adlx.dingdong.mall.user.dto.UserDTO;
import com.adlx.dingdong.mall.user.dto.UserRegDTO;
import com.adlx.dingdong.mall.user.vo.UserVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserFeignClientHystrix implements UserFeignClient {

	@Override
	public UserDTO getByUsernameAndPasswordDTO(UserRegDTO userRegDTO) {
		return null;
	}

	@Override
	public UserVO get(Long uid) {
		log.info("user-service is stop ,after try!");
		return null;
	}

	@Override
	public UserDTO getUserByUsername(String username) {
		log.info("user-service is stop ,after try!");
		return null;
	}
}
